package com.ruoyi.applet.mapper;

import com.ruoyi.applet.domain.AppletExam;

import java.util.List;

/**
 * examMapper接口
 *
 * @author PengFei Deng
 * @date 2022-04-14
 */
public interface AppletExamMapper {
    /**
     * 查询exam
     *
     * @param examId exam主键
     * @return exam
     */
    AppletExam selectAppletExamByExamId(Integer examId);

    AppletExam selectAppletExamBySiteId(Long siteId);

    /**
     * 查询exam列表
     *
     * @param appletExam exam
     * @return exam集合
     */
    List<AppletExam> selectAppletExamList(AppletExam appletExam);

    /**
     * 新增exam
     *
     * @param appletExam exam
     * @return 结果
     */
    int insertAppletExam(AppletExam appletExam);

    /**
     * 修改exam
     *
     * @param appletExam exam
     * @return 结果
     */
    int updateAppletExam(AppletExam appletExam);

    /**
     * 删除exam
     *
     * @param examId exam主键
     * @return 结果
     */
    int deleteAppletExamByExamId(Integer examId);

    /**
     * 批量删除exam
     *
     * @param examIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteAppletExamByExamIds(Integer[] examIds);




    List<AppletExam> appletSelectList(AppletExam appletExam);
}
